﻿#region
/*******************************************************************************
** File Name:		    IRightsType.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Data;
using System.Collections.Generic;
using Phoenix.Entity;
namespace Phoenix.Respository
{
    public interface IRightsType
    {
        #region  Auto Generation

        void AddRightsType(ERightsType rightsType);

        void UpdateByTypeID(ERightsType rightsType);

        void DeleteByTypeID(System.Int32 typeID);

        ERightsType GetByTypeID(System.Int32 typeID);

        #endregion

        IList<ERightsType> GetAll();

        void DeleteRightAndType(int typeID);
    }
}